﻿using Newtonsoft.Json;

namespace SCM.Model
{
    /// <summary>
    /// 角色对应的权限
    /// </summary>
    public class RoleFunctionVo
    {
        /// <summary>
        /// ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        [JsonProperty(PropertyName = "pId")]
        public string PID { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 是否选中
        /// </summary>
        public bool Checked { get; set; }

        /// <summary>
        /// 是否展开
        /// </summary>
        public bool Open { get; set; }
    }
}
